//
//  CourseImagesViewController.m
//  ForYourBeauty
//
//  Created by Kelly xu on 2019/8/3.
//  Copyright © 2019 changrenTech. All rights reserved.
//

#import "CourseImagesViewController.h"
#import "MyCourseListViewModel.h"
@interface CourseImagesViewController ()<UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>{
    
}
@property(nonatomic,strong)MyCourseListViewModel *myCourseListViewModel;
@end

@implementation CourseImagesViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self.myCourseListViewModel fetchCourseImgs:[NSString stringWithFormat:@"%ld",[NSDate date].year] month:[NSString stringWithFormat:@"%ld",[NSDate date].month] cmp:^(NSArray * _Nonnull imgList) {
        
    }];
}
#pragma mark - instance
-(MyCourseListViewModel*)myCourseListViewModel{
    if (!_myCourseListViewModel) {
        _myCourseListViewModel = [[MyCourseListViewModel alloc]init];
    }
    return _myCourseListViewModel;
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
